]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
dash: Use pin instead of favorites
authorRachit Keerti Das <rachitkdas@gmail.com>
Sat, 29 Jan 2022 17:07:25 +0000 (22:37 +0530)
committerMarge Bot <marge-bot@gnome.org>
Mon, 7 Feb 2022 14:12:04 +0000 (14:12 +0000)
Use the term 'pin' for adding new items to the dash
Note that this is only a string change.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4976

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2136>

js/ui/appFavorites.js
js/ui/appMenu.js
js/ui/dash.js

index a876727edafc19f4d4e96d2ae06a8306ef0974ce..4e372c2138c21c8d879b0e0e8041fa8bd9a1b0ad 100644 (file)
@@ -161,7 +161,7 @@ class AppFavorites {
 
         let app = Shell.AppSystem.get_default().lookup_app(appId);
 
-        let msg = _("%s has been added to your favorites.").format(app.get_name());
+        let msg = _('%s has been pinned to the dash.').format(app.get_name());
         Main.overview.setMessage(msg, {
             forFeedback: true,
             undoCallback: () => this._removeFavorite(appId),
@@ -194,7 +194,7 @@ class AppFavorites {
         if (!this._removeFavorite(appId))
             return;
 
-        let msg = _("%s has been removed from your favorites.").format(app.get_name());
+        let msg = _('%s has been unpinned from the dash.').format(app.get_name());
         Main.overview.setMessage(msg, {
             forFeedback: true,
             undoCallback: () => this._addFavorite(appId, pos),
index 87d2218cdf354a7f3912cc03767beb2c7318d9cd..671f223f3e4e9c056665359149fb76802d115abc 100644 (file)
@@ -160,8 +160,8 @@ var AppMenu = class AppMenu extends PopupMenu.PopupMenu {
 
         const { id } = this._app;
         this._toggleFavoriteItem.label.text = this._appFavorites.isFavorite(id)
-            ? _('Remove from Favorites')
-            : _('Add to Favorites');
+            ? _('Unpin')
+            : _('Pin to Dash');
     }
 
     _updateGpuItem() {
index 08902c436a6d41ca8b85adf546dae310ff234e93..311117471d03abf61085f0cf6b8e64decb13759d 100644 (file)
@@ -242,7 +242,7 @@ class ShowAppsIcon extends DashItemContainer {
             this._iconActor.set_hover(canRemove);
 
         if (canRemove)
-            this.setLabelText(_("Remove from Favorites"));
+            this.setLabelText(_('Unpin'));
         else
             this.setLabelText(_("Show Applications"));
     }